
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
    background: white;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* 表单容器 */
.form-container {
    max-width: 420px;
    width: 100%;
    background: white;
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.form-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: 500;
}

/* 消息提示 */
.message {
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
    font-size: 14px;
}

.message.success {
    background: #f0f9ff;
    color: #0c4a6e;
    border: 1px solid #bae6fd;
    display: block;
}

.message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    display: block;
}

/* 表单组 */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    transition: all 0.3s;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: #666;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-group input::placeholder {
    color: #aaa;
}

/* 按钮 */
.btn {
    width: 100%;
    padding: 13px;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    margin-top: 10px;
}

.btn:hover {
    background: #000;
}

.btn:disabled {
    background: #999;
    cursor: not-allowed;
}

/* 页脚 */
.form-footer {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-size: 14px;
}

.form-footer a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.form-footer a:hover {
    color: #000;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .form-container {
        padding: 40px 30px;
    }
    
    .form-container h2 {
        font-size: 24px;
    }
}